﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PSDLib.Models
{
    public class rm_room_info
    {
        #region Properties
        /// <summary>
        /// ID
        /// </summary>
        [DisplayName("ID")]
        public string id { get; set; }
        /// <summary>
        /// 房号
        /// </summary>
        [DisplayName("房号")]
        public string room_number { get; set; }
        /// <summary>
        /// 楼层
        /// </summary>
        [DisplayName("楼层")]
        public string floor { get; set; }
        /// <summary>
        /// 幢号
        /// </summary>
        [DisplayName("幢号")]
        public string building { get; set; }
        /// <summary>
		/// 房间方位
		/// </summary>
        [DisplayName("房间方位")]
        public string direction { get; set; }
        /// <summary>
        /// 最大入住人数
        /// </summary>
        [DisplayName("最大入住人数")]
        public string max_number { get; set; }
        /// <summary>
        /// 是否为客房
        /// </summary>
        public string room_type { get; set; }
        [DisplayName("排序")]
        public int? sort { get; set; }
        /// <summary>
        /// 状态（0在用，1入住，-1维修中，2:预定）
        /// </summary>
        [DisplayName("状态（0在用，1入住，-1维修中，2:预定）")]
        public int? state { get; set; }
        [DisplayName("是否可入住（0否，1是否）")]
        public int? is_checkin { get; set; }
        [DisplayName("是否显示在房态图（0否，1是）")]
        public int? is_show { get; set; }
        public DateTime? last_update_time { get; set; }

        /// <summary>
        /// 谈话间类型：0普通留置间  1智慧留置间 2谈话间
        /// </summary>
        public int? is_normal { get; set; }
        public string group { get; set; }
        #endregion
    }

    /// <summary>
    /// 放风区域信息实体类
    /// </summary>
    public class relieve_area_info
    {
        #region Properties

        /// <summary>
        /// 主键id
        /// </summary>
        [DisplayName("主键id")]
        public string id { get; set; }

        /// <summary>
        /// 放风区域编号
        /// </summary>
        [DisplayName("放风区域编号")]
        public string area_number { get; set; }

        /// <summary>
        /// 放风区域名称
        /// </summary>
        [DisplayName("放风区域名称")]
        public string area_name { get; set; }

        #endregion
    }

    /// <summary>
    /// 建筑物布局信息实体类
    /// </summary>
    public class building_location
    {
        #region Properties

        /// <summary>
        /// 主键id
        /// </summary>
        [DisplayName("主键id")]
        public string id { get; set; }

        /// <summary>
        /// 地点编号
        /// </summary>
        [DisplayName("地点编号")]
        public string location_number { get; set; }

        /// <summary>
        /// 地点名称
        /// </summary>
        [DisplayName("地点名称")]
        public string location_name { get; set; }

        #endregion
    }
}
